projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbbfb53
)
deploy: Suppress unused variable warning for fscreatecon cleanup
author
Colin Walters
<walters@verbum.org>
Thu, 27 Oct 2016 17:43:39 +0000
(13:43 -0400)
committer
Atomic Bot
<atomic-devel@projectatomic.io>
Thu, 27 Oct 2016 17:50:56 +0000
(17:50 +0000)
Fixes the clang build.
Closes: #551
Approved by: jlebon
src/libostree/ostree-sysroot-deploy.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-sysroot-deploy.c
b/src/libostree/ostree-sysroot-deploy.c
index 41a9a8dff58a255cebda519d2950b6e0c4f8c498..427e188bb0daab06dd96256f7661d9c705ae9bda 100644
(file)
--- a/
src/libostree/ostree-sysroot-deploy.c
+++ b/
src/libostree/ostree-sysroot-deploy.c
@@
-2146,7
+2146,10
@@
ostree_sysroot_deploy_tree (OstreeSysroot *self,
goto out;
}
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-variable"
{ ostree_cleanup_sepolicy_fscreatecon gpointer dummy = NULL;
+#pragma GCC diagnostic pop
/* Explicitly override the label for the origin file to ensure
* it's system_conf_t.